package orz.oxlab;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class Hello0x1ab extends Activity implements OnClickListener {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        // Set up click listeners for all the buttons
        View imageButton1 = this.findViewById(R.id.image_erin);
        imageButton1.setOnClickListener(this);
        View imageButton2 = this.findViewById(R.id.image_jeremy);
        imageButton2.setOnClickListener(this);
        View imageButton3 = this.findViewById(R.id.image_john);
        imageButton3.setOnClickListener(this);
        View imageButton4 = this.findViewById(R.id.image_jserv);
        imageButton4.setOnClickListener(this);  
        View imageButton5 = this.findViewById(R.id.image_julian);
        imageButton5.setOnClickListener(this);
        View imageButton6 = this.findViewById(R.id.image_matt);
        imageButton6.setOnClickListener(this);
        View imageButton7 = this.findViewById(R.id.image_olv);
        imageButton7.setOnClickListener(this);
        View imageButton8 = this.findViewById(R.id.image_thinker);
        imageButton8.setOnClickListener(this); 
        View imageButton9 = this.findViewById(R.id.image_tick);
        imageButton9.setOnClickListener(this);        
    }
    
    public void onClick(View v) {
    	Intent i = new Intent(this, TeamMember.class);
    	i.putExtra(Intent.EXTRA_TEXT, v.getId());
    	startActivity(i);
     }
     
}